Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix wrong error for iterators with no body and pragma macro #24440

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

metagn
Copy link
Collaborator

@metagn metagn commented Nov 15, 2024

fixes #16413

semIterator checks if the original iterator passed to it has no body, but it should check the processed node created by semProcAux.

@Araq Araq merged commit e239968 into nim-lang:devel Nov 15, 2024
18 checks passed
Copy link
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from e239968

Hint: mm: orc; opt: speed; options: -d:release
177696 lines; 8.908s; 653.516MiB peakmem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attaching a macro to an iterator cannot fill the body
2 participants